<?php
/**
 * TimeInForce
 *
 * PHP version 7.2
 *
 * @category Class
 * @package  OpenAPI\Client
 * @author   OpenAPI Generator team
 * @link     https://openapi-generator.tech
 */

/**
 * OEML - REST API
 *
 * This section will provide necessary information about the `CoinAPI OEML REST API` protocol. This API is also available in the Postman application: <a href=\"https://postman.coinapi.io/\" target=\"_blank\">https://postman.coinapi.io/</a>
 *
 * The version of the OpenAPI document: v1
 * Contact: support@coinapi.io
 * Generated by: https://openapi-generator.tech
 * OpenAPI Generator version: 5.0.1
 */

/**
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

namespace OpenAPI\Client\Model;
use \OpenAPI\Client\ObjectSerializer;

/**
 * TimeInForce Class Doc Comment
 *
 * @category Class
 * @description Order time in force options are documented in the separate section: &lt;a href&#x3D;\&quot;#oeml-order-params-tif\&quot;&gt;OEML / Starter Guide / Order parameters / Time in force&lt;/a&gt;
 * @package  OpenAPI\Client
 * @author   OpenAPI Generator team
 * @link     https://openapi-generator.tech
 */
class TimeInForce
{
    /**
     * Possible values of this enum
     */
    const GOOD_TILL_CANCEL = 'GOOD_TILL_CANCEL';
    const GOOD_TILL_TIME_EXCHANGE = 'GOOD_TILL_TIME_EXCHANGE';
    const GOOD_TILL_TIME_OMS = 'GOOD_TILL_TIME_OMS';
    const FILL_OR_KILL = 'FILL_OR_KILL';
    const IMMEDIATE_OR_CANCEL = 'IMMEDIATE_OR_CANCEL';
    
    /**
     * Gets allowable values of the enum
     * @return string[]
     */
    public static function getAllowableEnumValues()
    {
        return [
            self::GOOD_TILL_CANCEL,
            self::GOOD_TILL_TIME_EXCHANGE,
            self::GOOD_TILL_TIME_OMS,
            self::FILL_OR_KILL,
            self::IMMEDIATE_OR_CANCEL,
        ];
    }
}


